<%@page import="com.kaishengit.dao.EmployeeDao"%>
<%@page import="com.kaishengit.entity.Message"%>
<%@page import="com.kaishengit.entity.Project"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html>
<html lang="zh-CN"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/jquery.js"></script>
	<style type="text/css">
		body{
			margin-top: 80px;
		}
	</style>
</head>
<body class="body">
	
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="brand" href="main.jspx">凯盛项目管理系统</a>
			</div>
		</div>
	</div>
	
	<%
		Project pro = (Project)session.getAttribute("mypro");
		List<Message> list =(List<Message>) session.getAttribute("myMsgList");
	 %>
		
	<div class="container">
	  <div class="row">
		<div class="span3">
			<div style="padding: 8px 0;" class="well">
				<ul class="nav nav-list">
				  <li class="nav-header"><%=pro.getName() %></li>
				  <li class="divider"></li>
				  <li class="active"><a href="#"><i class="icon-white icon-home"></i>最新动态</a></li>
				  <li><a href="goal.jspx"><i class="icon-flag"></i>目标</a></li>
				  <li><a href="document.jspx"><i class="icon-folder-open"></i>资料库</a></li>
				  <li><a href="file.jspx"><i class="icon-file"></i>文件共享</a></li>
				  <li><a href="contact.jspx"><i class="icon-user"></i>联系人</a></li>
				  <li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
				  <li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
				  <li><a href="#"><i class="icon-cog"></i>项目设置</a></li>
				</ul>
			</div>
		</div>
		<div class="span6">
		  
		  	<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;">
				<li class="active">
					<i class="icon-th"></i>你在想什么？
				</li>
			</ul>
			<div class="wall">
				<form style="margin:0px" action="message.jspx?proId=<%=pro.getId() %>" method="post">
					<textarea name="message" id="msg" style="width: 415px;" rows="3"  placeholder="#你想说点什么#"  style="width: 400px; height: 75px; overflow: hidden; padding-bottom: 5px;border-radius:8px;"></textarea>
					<input type="submit" class="btn btn-primary"  id="msg_btn" value="发布"/>
				</form>
			</div>


			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:20px">
				<li class="active">&nbsp;
		            <li class="active"><a data-toggle="tab" href="#home">全部信息</a></li>
		            <li class=""><a data-toggle="tab" href="#profile">@关于我的</a></li>
				
			</ul>
			<div class="wall">
		            	<%
		            		for(Message msg : list) {
		            	 %>
		            	 	<div><%=msg.getCreateTime() %> </div>
		            	 	<%=msg.getContent() %>
		            	 <%} %>
			</div>

		</div>
		<div class="span3">
			<div class="box">
				<div class="head">我的任务</div>
				<ul>
					<li><a href=""></a>任务1</li>
					<li><a href=""></a>任务1</li>
					<li><a href=""></a>任务1</li>
				</ul>
			</div>
		</div>
	  </div>
	</div>
		
		
			
		
		
</body></html>